package com.hoshiicloud.common.generator.id;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

import com.spring4all.swagger.EnableSwagger2Doc;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({ "com.hoshiicloud.*", "com.baidu" })
@MapperScan("com.hoshiicloud.common.generator.id.mapper")
@EnableSwagger2Doc
public class HoshiiCloudIdGeneratorApplication {
	public static void main(String[] args) {
		SpringApplication.run(HoshiiCloudIdGeneratorApplication.class, args);
		System.out.println("id自动生成器服务启动完成");
	}

}
